* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Open Sans', 'Playfair Display', sans-serif;
  background: #fffafc;
  color: #2c2c2c;
  line-height: 1.6;
}

h1,
h2 {
  font-family: 'Playfair Display', serif;
}

.navbar {
  display: flex;
  font-family: 'Open Sans', 'Playfair Display', sans-serif;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #ffb6c1, #ffc0cb);
  padding: 15px 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 1px;
}

.logo img {
  height: 60px;
  width: 60px;
  border-radius: 50%;
  object-fit: contain;
}

.nav-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: #800040;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 0.5em;
}

.section-desc {
  max-width: 700px;
  margin: 0 auto 2em;
  font-size: 1.1rem;
}

.section {
  padding: 4em 2em;
  text-align: center;
}

.section-img {
  max-width: 320px;
  border-radius: 15px;
  margin-top: 1.5em;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Hero section with soft blurred background and subtle text shadows */
.hero {
  position: relative;
  height: 90vh;
  overflow: hidden;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('beauty products.webp') center center/cover no-repeat;
  filter: blur(5px);
  z-index: 0;
  /* no dark overlay for lightness */
}

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 2rem 1.5rem;
  /* no background color */
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3); /* subtle shadow for clarity */
}

.hero h1 {
  font-size: 3.5rem;
  letter-spacing: 1px;
  margin: 0;
  color: white;
  text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.35); /* slightly stronger shadow */
}

.hero p {
  font-size: 1.3rem;
  margin-top: 0.8em;
  color: white;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.25);
}

/* Call-to-action button styling */
.cta-button {
  display: inline-block;
  margin-top: 1.5em;
  padding: 0.9em 2em;
  background-color: #e91e63;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;
  box-shadow: 0 4px 15px rgba(233, 30, 99, 0.3);
  transition: all 0.3s ease;
}

.cta-button:hover {
  background-color: #c2185b;
  transform: translateY(-2px);
}

.favorites-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2em;
  margin: 0 auto;
  padding: 0 2em;
  max-width: 1100px;
  justify-content: center;
}

.product img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.product:hover img {
  transform: scale(1.05);
}

.product p {
  margin-top: 0.5em;
  font-weight: 600;
  font-size: 1rem;
}

.beauty-tips {
  background-color: #fff0f5;
  padding: 40px 20px;
  text-align: center;
  border-top: 2px solid #e0c0dd;
}

.beauty-tips h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #d63384;
}

.tip-box p {
  margin: 10px 0;
  font-size: 1.1rem;
  color: #444;
}

.testimonial {
  background-color: #fef0f5;
  border-radius: 12px;
  padding: 3em 2em;
  margin: 2em auto;
  width: 85%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.testimonial .quote {
  font-style: italic;
  margin: 1em 0;
  color: #555;
  font-size: 1.1rem;
}

.newsletter {
  background-color: #fff5fb;
  border-radius: 12px;
  padding: 3em 2em;
  width: 90%;
  max-width: 600px;
  margin: 3em auto;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.newsletter input[type="email"] {
  padding: 0.8em;
  width: 70%;
  border: 1px solid #ccc;
  border-radius: 30px;
  margin-right: 0.5em;
  font-size: 1rem;
}

.newsletter button {
  padding: 0.8em 1.5em;
  background-color: #e91e63;
  color: white;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.newsletter button:hover {
  background-color: #c2185b;
}

footer {
  background: linear-gradient(90deg, #ffb6c1, #ffc0cb);
  text-align: center;
  padding: 2em;
  font-size: 0.95em;
  color: #666;
  border-top: 1px solid #ffc0cb;
}

/* Responsive */

@media (max-width: 900px) {
  .navbar {
    flex-wrap: wrap;
    padding: 15px 15px;
  }

  .nav-links ul {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
  }

  .nav-links a {
    display: block;
    text-align: center;
    font-size: 1.1rem;
  }

  .logo {
    flex: 1 1 100%;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 10px;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
    padding: 0 1em;
  }

  .hero p {
    font-size: 1rem;
    padding: 0 1em;
  }

  .cta-button {
    font-size: 0.9rem;
    padding: 0.7em 1.5em;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-desc {
    font-size: 1rem;
    padding: 0 1em;
  }

  .section {
    padding: 3em 1em;
  }

  .favorites-grid {
    padding: 0 1em;
    gap: 1.2em;
  }

  .testimonial,
  .newsletter {
    width: 95%;
    padding: 2em 1em;
  }

  .newsletter input[type="email"] {
    width: 100%;
    margin-bottom: 0.8em;
    margin-right: 0;
  }

  .newsletter button {
    width: 100%;
  }
}

@media (max-width: 400px) {
  .logo img {
    height: 45px;
    width: 45px;
  }

  .nav-links ul {
    gap: 8px;
  }

  .product p {
    font-size: 0.9rem;
  }
}
